package com.kgcx.system.mapper;
import org.apache.ibatis.annotations.Param;
import com.github.pagehelper.Page;
import com.kgcx.system.domain.SysEmployee;

public interface SysEmployeeMapper {

    int deleteByPrimaryKey(@Param("kid")Long kid);

    int insert(SysEmployee record);

    SysEmployee selectByPrimaryKey(@Param("kid")Long kid);

    public SysEmployee getSysUserByAccountPass(@Param("account")String account,@Param("password")String password);

	public SysEmployee getSysUserByAccount(@Param("account")String account);

	public Page<SysEmployee> getSysUserPageList(@Param("user")SysEmployee sysEmployee);

	public void updateUserByKid(@Param("user")SysEmployee sysEmployee);
}
